package MyOop04;

import java.util.StringJoiner;

public class StringJoiner002 {
    public static void main(String[] args) {
        StringJoiner sj = new StringJoiner(",","[","}");
        sj.add("aaa").add("bbb").add("ccc");
        int len = sj.length();
        String str = sj.toString();
        System.out.println(sj);
        System.out.println(len);
        System.out.println(str);
    }
}
